@confirm-prefix-cls: ant-confirm;

.@{confirm-prefix-cls} {
  .ant-modal-header {
    display: none;
  }

  .ant-modal-body {
    padding: 0;
  }

  &-body {
    .@{confirm-prefix-cls}-header {
      background-color: #f9f9f9;
      position: relative;
      height: 50px;
      line-height: 50px;
      border-radius: 6px 6px 0 0;
      padding-left: 15px;
      border-bottom: 1px solid #d2d2d2;

     .anticon-cross {
        position: absolute;
        right: 13px;
        top: 16px;
        font-size: 15px;
        cursor: pointer;
      }

      .ant-confirm-header-icon {
        font-size: 24px;
        margin-right: 10px;
        padding: 0 1px;
        position: relative;
        top: 5px;
      }
    }

    .@{confirm-prefix-cls}-title {
      color: @text-color;
      font-weight: normal;
      font-size: 14px;
    }

    .@{confirm-prefix-cls}-content {
      font-size: @font-size-base;
      color: @text-color;
      padding: 20px;
      min-height: 105px;
      vertical-align: middle;
    }

  }

  .@{confirm-prefix-cls}-btns {
    height: 50px;
    line-height: 50px;
    width: 100%;
    border-top: 1px solid #d2d2d2;
    text-align: right;
    padding-right: 15px;

    .ant-btn  {
      border-radius: 3px;
      font-size: 12px;
    }

    button + button {
      margin-left: 10px;
      margin-bottom: 0;
    }
  }

  &-error &-body .ant-confirm-header-icon {
    color: @error-color;
  }

  &-warning &-body .ant-confirm-header-icon,
  &-confirm &-body .ant-confirm-header-icon {
    color: @warning-color;
  }

  &-info &-body .ant-confirm-header-icon {
    color: @primary-color;
  }

  &-success &-body .ant-confirm-header-icon {
    color: @success-color;
  }
}
